package global

import "database/sql"

type CreateNewsRequest struct {
	Name          string
	CategoryId    sql.NullInt64
	SNewsTitle    sql.NullString
	Lang          sql.NullString
	NaviContentTf sql.NullString
	Content       sql.NullString
	UserId        sql.NullInt64
}
type NewsListItemReq struct {
	Operate               bool `json:"operate"`
	NewspropertyRectf1    bool `json:"newsproperty_rectf1"`    //推荐
	NewspropertyMartf1    bool `json:"newsproperty_martf1"`    //滚动
	NewspropertyHottf1    bool `json:"newsproperty_hottf1"`    //热点
	NewspropertyFiltf1    bool `json:"newsproperty_filtf1"`    //幻灯
	NewspropertyTttf1     bool `json:"newsproperty_tttf1"`     //头条
	NewspropertyCarefully bool `json:"newsproperty_carefully"` //精选
	IsPlacement           bool `json:"is_placement"`           //置顶
	NewspropertyAnntf1    bool `json:"newsproperty_anntf1"`    //公告
	NewspropertyJctf1     bool `json:"newsproperty_jctf1"`     //精彩
}
type NewsListReq struct {
	Operate bool              `json:"operate"`
	Item    []NewsListItemReq `json:"item"`
}
